package com.atguigu.lease.web.admin.mapper;

import com.atguigu.lease.model.entity.ApartmentInfo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentDetailVo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentItemVo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentQueryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

public interface ApartmentInfoMapper extends BaseMapper<ApartmentInfo> {


    Page<ApartmentItemVo> customSelectPage(Page<ApartmentItemVo> page, @Param("queryVo") ApartmentQueryVo queryVo);

    ApartmentDetailVo customSelectById(Long id);
}
